package com.woniuxy02;

/**
 * @author 作者
 * @create 2025-09-05 17:02
 */
public class StudentTest {
    public static void main(String[] args) {
        Student s1=new Student(1,"zs",11);
        Student s2=new Student(2,"zs",11);
        //判断对象是否相等
        System.out.println(s1==s2);
        System.out.println(s1.equals(s2));

        System.out.println(s1.equals("aaaa"));
    }
}
